package com.wtwd.device.model.vo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 电量警报上报到app
 */
public class AppAlarmPowerRecordVo implements Serializable {
    /**
     * 设备id
     */
    private Long deviceId;

    /**
     * 上报类型 1-缺电警报 2-关机警报 3-自动关机警报 4-开机警报
     */
    private Byte type;

    /**
     * 剩余电量 百分比
     */
    private String surplusPower;


    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getSurplusPower() {
        return surplusPower;
    }

    public void setSurplusPower(String surplusPower) {
        this.surplusPower = surplusPower;
    }

    @Override
    public String toString() {
        return "AppAlarmPowerRecordVo{" +
                "deviceId=" + deviceId +
                ", type=" + type +
                ", surplusPower='" + surplusPower + '\'' +
                '}';
    }
}
